package com.example.njupt.okhttp.entity;

import com.flyco.tablayout.listener.CustomTabEntity;

/**
 * Author:      mwang
 * Create Date: Created in 2021/5/25 17:27
 * Update Date:
 * Modified By:
 * Description:
 */
public class TabEntity implements CustomTabEntity {

    private String title;
    private int selectedIcon;
    private int unSelectedIcon;

    public TabEntity(String title, int selectedIcon, int unSelectedIcon) {
        this.title = title;
        this.selectedIcon = selectedIcon;
        this.unSelectedIcon = unSelectedIcon;
    }

    @Override
    public String getTabTitle() {
        return title;
    }

    @Override
    public int getTabSelectedIcon() {
        return selectedIcon;
    }

    @Override
    public int getTabUnselectedIcon() {
        return unSelectedIcon;
    }
}
